import re

l = "Beautiful is better than ugly."

matches = re.findall("beautiful", l, re.IGNORECASE)
print(matches)

